home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 1747 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  643 b 

  1. Path: bmerhc5e.bnr.ca!bmerhe78!studnt1
  2. From: studnt1@bmerhe78.bnr.ca (Jean Giblin )
  3. Newsgroups: comp.lang.c
  4. Subject: Pound defines
  5. Date: 16 Jan 1996 18:31:43 GMT
  6. Organization: Bell Northern Research
  7. Message-ID: <4dgquf$fuq@bmerhc5e.bnr.ca>
  8. NNTP-Posting-Host: bmerhe78.bnr.ca
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. hello everyone:
  12.  
  13.     I was wondering if anybody out there knows about a C command that prints the
  14. the name of the define when given the number. Example:
  15.  
  16.  #define MAX 20
  17.  
  18. when given 20 it will return max.
  19.  
  20. I thought a command existed, but I could be wrong.  Please respond to this newgroup,
  21. and not my e-mail address.
  22.  
  23.     Thanks
  24.         Nick
  25.